<?php if(!defined('MB_VERSION')) exit; ?>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=2.0">
	<title>标题</title>
	<meta name="description" content="蘑菇博客">
	<meta name="author" content="mogublog">
	<link href="<?php mb_theme_url(); ?>/style.css" type="text/css" rel="stylesheet"/>
	<link href="<?php mb_theme_url(); ?>/SyntaxHihglighter/styles/shCore.css" type="text/css" rel="stylesheet"/>
	<link href="<?php mb_theme_url(); ?>/SyntaxHihglighter/styles/shThemeDefault.css" type="text/css" rel="stylesheet"/>
	<script type="text/javascript" src="<?php mb_theme_url(); ?>/SyntaxHihglighter/scripts/shCore.js"></script>
	<script type="text/javascript" src="<?php mb_theme_url(); ?>/SyntaxHihglighter/scripts/shAutoloader.js"></script>
	<script type="text/javascript" >
		function Search(){
			var key = document.getElementById('search-box').value;
			location.href = './search-'+key+'.html';
		}

		document.onkeydown = function(event){
			e = event ? event :(window.event ? window.event : null);
			if(e.keyCode==13){
				var key = document.getElementById('search-box').value;
				if(key.length > 0){
					Search();
				}
			}
		}
      </script>
</head>
<body>
<div id="flash-notice"></div>
<div class="header">
	<div class="wrap">
		<div class="user_img"><img src="<?php mb_theme_url('img/website.png'); ?>" width="80" height="80" alt="website icon"></div>
		<div class="blog_title">
			<a href="<?php bloginfo('url'); ?>">蘑菇博客</a>
		</div>
		<div class="write">
			<a href="<?php bloginfo('url'); ?>/admin">登录</a>
		</div>
		<div class="blog_motto"><?php bloginfo('desc'); ?></div>
	</div>
</div><!-- header -->
<div class="nav">
	<div class="wrap clearfix">
		<div class="search fr">
			<div id="cse-search-box" >
				<input id="search-box" name="q" type="text" placeholder="Search" value="">
				<button id="search-button" onclick="Search()" ></button>
			</div>
		</div>
		<ul>
			<li><a href="<?php bloginfo('url'); ?>" class='current'>首页</a></li>
			<li><a href="http://weibo.com/3141543492" >微博</a></li>
		</ul>
	</div>
</div><!-- nav -->